from requestium import Session, Keys

s = Session('C:/apps/chromedriver/chromedriver',
            browser='chrome',
            default_timeout=15)

url = "http://image.baidu.com/search/index?tn=baiduimage&ps=1&ct=201326592&lm=-1&cl=2&nc=1&ie=utf-8&word=forklift"
s.driver.get(url)
u = s.driver.ensure_element_by_xpath("//li[@class='imgitem']").get_attribute("data-objurl")
print(u)
